#ifndef HV5523_H
#define HV5523_H

#include "Arduino.h"

extern unsigned long HV5523_Buf;

#define HV_CLK_H digitalWrite(13,HIGH)
#define HV_CLK_L digitalWrite(13,LOW)
#define HV_DIN_H digitalWrite(15,HIGH)
#define HV_DIN_L digitalWrite(15,LOW)
#define HV_LE_H digitalWrite(4,HIGH)
#define HV_LE_L digitalWrite(4,LOW)

#define Fresh_Delay_Time    200

void HV5523_Init(void);
void HV5523_Send_Data(unsigned long val);
void Display_Num(unsigned char num,bool N1_LD,bool N1_RD,bool N2_LD,bool N2_RD);
void Display_Time(void);
void Display_Voltage(void);
void Nixie_Fresh(void);

#endif
